package com.imooc.spring.classone;

public class DaGe {

    private final XiaoDi xiaoDi;

    public DaGe(XiaoDi xiaoDi) {
        this.xiaoDi = xiaoDi;
    }

    public int calculate(int a, int b) {
        return xiaoDi.calculate(a, b);
    }

}
